<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
/* Start of file user.php */
/* Location: ./home/controllers/user.php */
class User extends CI_Controller {
	
	function __construct(){
		parent::__construct(); /* construct Home user controller */
    }
	
	/*link to home/user*/
	function index(){
		$this->ws->set('title',lang('mess_home')); /*Home Title Page From ws-include/language/region/message_lang*/
		$this->ws->set_theme('default');/*Set theme to default theme ws-themes/default*/
		$this->ws->set_layout('home');/*Set layout to default/home  ws-themes/default/home.php*/
		$this->ws->view('home');/*Set views home/views/home.php*/
	}
	
	function logged(){
		$this->ws->set('title',lang('home')); /*Home Title Page From ws-include/language/region/message_lang*/
        $this->ws->set('right_module',array('invite-friends','tips-started','recommended-people')); /* Load Right Module Side Jobs*/
		$this->ws->set_theme('default');/*Set theme to default theme ws-themes/default*/
		$this->ws->view('logged');/*Set views home/views/home.php*/
	}
	
}
/* End of file user.php */
/* Location: .home/controllers/user.php */